a = ['aaogle', 'bbnoob', 'ccobao', 'ddcebook']
b = ['ccc', 'ddd', 'eee']
l = [a, b]
a.sort()  # 默认根据第一个字母排序
# print(a)

l.sort(key=lambda x: -len(x[1]), reverse=True)  # 根据第二个字母排序, reverse控制降序
print(l)
